﻿<div class="form-group">
    <div class="col-lg-2 col-md-3 col-sm-4 margin-bottom-10">
    	<p>请选择性别</p>
        <select name="sex" class="form-control" ng-model="vm.sex">  
            <option value="">全部</option>
            <option value="male">男</option>
            <option value="female">女</option>
        </select>
    </div>
    <div class="col-lg-2 col-md-3 col-sm-4 margin-bottom-10">
    	<p>请选择CP点</p>
        <select name="cp" class="form-control" ng-model="vm.cpcircleNum">
            <option value="" >全部</option>
            <option ng-repeat="item in vm.course.cp_calc" value="{{item.cp_index}}">{{item.cp_name}}</option>
        </select>
    </div>
    <div class="col-lg-2 col-md-3 col-sm-4 margin-bottom-10">
    	<p>请选择组别</p>
        <!-- <select name="group" class="form-control" ng-model="vm.group" ng-options="item.group_title for item in vm.groupListForcourse">   -->
        <select name="group" class="form-control" ng-model="vm.group">  
            <option value="">全部</option>
            <option ng-repeat="gulp in vm.gulpSelect" value="{{gulp.value}}" ng-disabled="gulp.disabled">{{gulp.title}}</option>
        </select>
    </div>
    <div class="col-lg-2 col-md-3 col-sm-4 margin-bottom-10">
    	<p>请选择状态</p>
        <select name="state" class="form-control" ng-model="vm.state" disabled="disabled">  
            <option value="">全部</option>
            <option value="over">完赛</option>
            <option value="unterwegs">在途</option>
            <option value="dnf">DNF</option>
            <option value="dns">DNS</option>
        </select>
    </div>
    <div class="col-lg-2 col-md-3 col-sm-4 margin-bottom-10">
    	<p>选手号</p>
		<input type="text" name="raceName" class="form-control" ng-model="vm.bib" placeholder="请输入选手号" >
    </div>
    <div class="col-lg-2 col-md-3 col-sm-4 col-lg-offset-0 col-md-offset-6 text-align-right  margin-bottom-10">
    	<p>&nbsp;</p>
		<button type="submit" class="btn btn-sm btn-primary" style="width: 100%;" ng-click="vm.searchTableData('oneway', vm.course.course_id, vm.sex, vm.cpcircleNum, vm.group, vm.state, vm.bib)">搜索</button>
    </div>
	<!-- 个人单程定距模板 -->
	<table id="person_table_oneway_dist" class="table table-striped table-bordered table-hover">
	    <thead>
	        <tr>
	            <th>选手号</th>
	            <th>姓名</th>
	            <th>性别</th>
	            <th>计时点</th>
	            <th>通过时间</th>
	            <th>枪声成绩</th>
	            <th>排名</th>
                <th>漏点</th>
	            <th>选手有效性</th>
	        </tr>
	    </thead>
	</table>
</div>